package com.xuhuan.demo.pattern.builder;

/**
 * @author huan.xu
 * @date 2021/10/5 22:16
 * @description 客户端
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("-----开始建造普通房子-----");
        new HouseDirector(new CommonHouse()).constructHouse();
        System.out.println();
        System.out.println("-----开始建造高楼-----");
        new HouseDirector(new HighBuilding()).constructHouse();
    }
}
